package com.hsmpay.mobile.dao.other;

import com.hsmpay.common.dao.BaseDao;

import java.io.Serializable;
import java.sql.SQLException;

/**
 * 用户帮助
 *
 * @param <Entity>
 * @param <Query>
 * @author Steven
 */
public interface HelpDao<Entity extends Serializable, Query extends Object> extends BaseDao<Entity, Query> {
    /**
     * 获取某个终端角色下的最大version
     *
     * @param terminalTypeId
     * @param roleId
     * @return
     * @throws SQLException
     */
    public int getMaxVersion(Long terminalTypeId, Long roleId) throws SQLException;
}
